Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

  Channel(float, float)

  Channel(float, float, bool)

  Channel(Vector3, bool)

  CubicalPos

  Distance

  Equals(Channel)

  IsLFE(int, int)

  IsScreenChannel

  LFE

  Move(float, float)

  Rotate(float, float)

  SpatialPos

  SphericalPos

  ToString()

  X

  Y

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class Channel

Spatially positioned audio output channel.
VisibilityPublic
Modifierssealed
ExtendsIEquatable

Public functions

Constructor Channel(float x, float y) Constructs a channel with given rotation values.
Constructor Channel(float x, float y, bool LFE)Constructs a channel with given rotation values and LFE status.
Constructor Channel(Vector3 location, bool LFE)Constructs a channel that is placed in the same direction as the given position.
bool Equals(Channel other) Check if two channels are the same.
void Move(float x, float y)Move this channel to a new position.
void Rotate(float x, float y) Rotate this channel.
string ToString() Display channel position when converted to string.

Public static functions

bool IsLFE(int channel, int channels = -1) Get if a channel is LFE for a given channel count.
If == -1, the current layout will be used.

Public properties

Vector3 CubicalPosPosition on a cube with a side length of 2.
float DistanceThe distance from the listener, relative to the center channel. Magnitude of SpatialPos.
bool IsScreenChannel This channel is part of the screen channels, and should be behind the screen in a theatre.
bool LFETrue for channels carrying only Low Frequency Effects.
Vector3 SpatialPosPosition in space. SphericalPos in Studio environments, CubicalPos otherwise.
Vector3 SphericalPosPosition on a sphere with the radius of 1.
float XRotation around the vertical axis in degrees: elevation.
float YRotation around the horizontal axis in degrees, clockwise: azimuth.

See also

CavernUnity DLL.Cavern.Utilities.ChannelExtensionsExtension functions for Channels.